<div ng-include="sys_html('common/_header')"></div>
<div class="fui-page order-list-page" ng-if="pagedata.op == 'list'">
	 <div class="jy2-headertopbg">
			<div class="fui-header" style="background:none">
				<div class="fui-header-left" href="javascript:" ng-click="goback()">
					<a class="back" style="color:#fff"></a>
				</div>
				<div class="title bold" style="font-size:1rem;color:#fff">订单核销</div>
			</div>
	 </div>
	<div class='fui-content order-list jy2-headertop' style="padding-top:1rem">
		<div style="padding:0 0.5rem">
		<div class="fui-list-group order-item radius" ng-repeat="item in pagedata.list">
                <a class="fui-list external" style="padding: 0.42rem 0.5rem" data-nocache="true">
                    <div class="fui-list-inner">
                        <div class="subtitle"> 订单号: {{item.ordersn}}</div>
                    </div>
                    <div class="row-remark text-cancel" style="width: auto; font-size: 0.65rem;text-align: right;">{{item.orderstatustitle}}</div>
                    <div class="angle"></div>
                </a> 
				<a href="javascript:;" ng-repeat="g in item.goods" class="external">
							<div class="fui-list goods-list">
								<div class="fui-list-media" style="">
									<img class="" ng-src="{{tomedia(g.image) || '../core/resource/images/nopic.jpg'}}">
								</div>
								<div class="fui-list-inner">
									<div class="text goodstitle towline">{{g.title}}</div>
									<div class="text" style="color:#f60;font-size:0.60rem">{{g.selespename || '无规格'}} x {{g.total || 1}} /{{g.unit ||'件'}}<span ng-if="g.weight!='0.00'"> ({{g.weight}}g)</span></div>									
								</div>
								<div class="fui-list-angle" style="width:auto">
									<div>￥<span class="marketprice red">{{g.price}}</span></div>
									<div class="subtitle" ng-if="pagedata.feemoney.isopen==1">{{pagedata.feemoney.tag ||'节省'}}￥{{g.feemoney || '0.00'}}</div>
								</div>
							</div>
				</a>
                <div class="fui-list-group-title lineblock">
					<span style="color:#999;font-size:0.65rem"><i class="icon jinyunicon icon-shijian" style="color:#f60;font-size:0.60rem"></i> {{item.createtime}}</span>
                    <span class="status noremark">共 <span>{{item.goods.length}}</span> 个商品 实付: <span class="text-danger">￥{{item.price}}</span></span>
                </div>
				<div class="fui-list" style="padding-top:0">
                        <div class="fui-list-text">
							<div class="red">买家：{{item.member.nickname}} 电话：{{item.member.mobile}}</div>
							<div class="red">核销门店：{{item.store}}</div>
							<div class="red">核销码：{{item.verify_code}}</div>
							<div ng-if="item.verifytime>0" class="red">核销时间：{{item.verifytime}}</div>
						</div>
				</div>
        </div>
		<div class="content-empty" ng-show="!pagedata.list || pagedata.list.length == 0 ">
		  <i class="icon jinyunicon icon-cry" style="width: 6rem;margin-bottom: 0.5rem;"></i><br/><p style="color: #999;font-size: .75rem">您暂时没有核销记录！</p>
		</div>
		</div>
	</div>
</div>
<div ng-include="sys_html('common/_footer')"></div>
<div ng-include="sys_html('common/_menu')"></div>
<script>
scope.tool.get_list('jy_weishop/store.manage.verifylog/list/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_weishop/store.manage.verifylog/list/');
}
</script>